/*
 * 由SharpDevelop创建。
 * 用户： Administrator
 * 日期: 2024-10-28
 * 时间: 23:09
 * 
 * 要改变这种模板请点击 工具|选项|代码编写|编辑标准头文件
 */
 
#define NET40

using System;
using System.Windows.Forms;
//using System.Runtime.InteropServices;

namespace AntdUI_SVGView
{
    internal static class Program
    {
        /// <summary>
        ///  The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            // To customize application configuration such as set high DPI settings or default font,
            // see https://aka.ms/applicationconfiguration.
			//ComWrappers.RegisterForMarshalling(WinFormsComInterop.WinFormsComWrappers.Instance);
			AntdUI.Config.TextRenderingHighQuality = true;
            //AntdUI.Config.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit;
            //Application.SetHighDpiMode(HighDpiMode.SystemAware);           
            // 正常的启动代码
		    Application.EnableVisualStyles();
		    // 使用当前系统的默认文本渲染设置
			//Application.SetCompatibleTextRenderingDefault(false);	
            //AntdUI.Localization.DefaultLanguage = "zh-CN";
            //var lang = AntdUI.Localization.CurrentLanguage;
            //if (lang.StartsWith("en")) AntdUI.Localization.Provider = new Localizer();
            Application.Run(new Main());
        }
    }
}